package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.RecommendVoice;
import com.tanhua.domain.mongo.Voice;
import org.bson.types.ObjectId;

public interface PeachblossomApi {
    /**
     * 根据用户id查询用户推荐表
     * @param userId
     * @return
     */
    RecommendVoice findRecommendUser(Long userId,String gender);

    /**
     * 根据语音id查询语音用户对象
     * @param voiceid
     * @return
     */
    Voice findSendUSer(long voiceid);

    /**
     * 删除推荐用户
     * @param voiceid
     */
    void deleteRecommendUser(long voiceid);
}
